<template>
  <div>
    <el-select
      v-model="formInline.site"
      clearable
      size="mini"
      style="margin-left: 5px; margin-top: 8px; width: 140px"
      placeholder="请选择内容"
    >
      <el-option
        :label="item"
        :value="item"
         v-for="(item, index) in options3"
        :key="index"
      >
      </el-option>
    </el-select>
  </div>
</template>

<script>
export default {
  props: {
    siteItems: Array,
    formInline: Object,
  },
  data() {
    return {
      options3: this.siteItems,
      formInline1: this.obj,
    };
  },
  mounted(){
  //  console.log(this.options3)
  },
  watch: {
    siteItems(newVal) {
      console.log(newVal)
      this.options3 = newVal;
      console.log(this.options3)
    },
  },
  
};
</script>

<style  scoped>
</style>